libxc: portability fixes for NetBSD
authorChristoph Egger <Christoph.Egger@amd.com>
Thu, 6 Jan 2011 17:26:26 +0000 (17:26 +0000)
committerChristoph Egger <Christoph.Egger@amd.com>
Thu, 6 Jan 2011 17:26:26 +0000 (17:26 +0000)
commitf1223b4eec9bc25265a4f50c423c60462681ead8
tree83a0a004b34550ca63ec62005b1f860d41477bdb
parent7e600e448519040d4857d291ddc8f34277d2c67e
libxc: portability fixes for NetBSD

Attached patch makes libxc build again on NetBSD after the recent rework.

[ Modified by iwj:

I changed the name of the new make variable from LIBDL to DLOPEN_LIBS.
The latter conforms to the naming scheme for similar variables found
in config/*.mk - PTHREAD_LIBS et al.

Also I moved the setting of the variable to -dl from Linux to StdGNU
(which makes it apply more widely) and also added it to SunOS.mk
(based on pure guesswork). ]

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
config/NetBSD.mk
config/StdGNU.mk
config/SunOS.mk
tools/libxc/Makefile
tools/libxc/xc_netbsd.c